Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.comment.actions--actions

This contribution is part of XML component org.nuxeo.ecm.platform.comment.actions inside nuxeo-platform-comment-web-7.10.jar /OSGI-INF/comment-actions-contrib.xml

Extension Point

Extension point actions of component ActionService.

Contributed Items

  • <action enabled="true" id="view_comments" label="action.view.comments" link="/incl/tabs/document_comments.xhtml" order="80" type="rest_document_link">
          <category>VIEW_ACTION_LIST</category>
          <filter-id>commentable</filter-id>
          <filter-id>mutable_document</filter-id>
          <filter-id>not_anonymous</filter-id>
        </action>
  • <action enabled="true" id="newComment" label="command.add" link="#{commentManagerActions.addComment}" order="10">
          <category>COMMENT_ACTIONS</category>
        </action>
  • <action enabled="true" id="cancelComment" label="command.cancel" link="#{commentManagerActions.cancelComment}" order="20">
          <category>COMMENT_ACTIONS</category>
        </action>

XML Source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">
    <action enabled="true" id="view_comments" label="action.view.comments" link="/incl/tabs/document_comments.xhtml" order="80" type="rest_document_link">
      <category>VIEW_ACTION_LIST</category>
      <filter-id>commentable</filter-id>
      <filter-id>mutable_document</filter-id>
      <filter-id>not_anonymous</filter-id>
    </action>

    <!-- add the comment creation button -->
    <action enabled="true" id="newComment" label="command.add" link="#{commentManagerActions.addComment}" order="10">
      <category>COMMENT_ACTIONS</category>
    </action>

    <action enabled="true" id="cancelComment" label="command.cancel" link="#{commentManagerActions.cancelComment}" order="20">
      <category>COMMENT_ACTIONS</category>
    </action>
  </extension>